package com.haizhi.crm.sys.message.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Created by wangshan on 2018/5/16.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessageSettingVo {

    private List<MessageSettingVo> messageSettingVoList;

    private String name;

    private Long msgCategoryId;

    private Long userId;

    private boolean checked;


    public MessageSettingVo(Long msgCategoryId, Long userId, String name) {
        this.name = name;
        this.msgCategoryId = msgCategoryId;
        this.userId = userId;
    }

    public MessageSettingVo(Long msgCategoryId, boolean checked, String name) {
        this.name = name;
        this.msgCategoryId = msgCategoryId;
        this.checked = checked;
    }

}
